package data.framework.web.controller;

import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestParam;

import data.framework.service.AbstractService;

public abstract class AbstractSimpleController extends AbstractController {

	public abstract AbstractService getService();

	public abstract void init(ModelMap model);

	public abstract void submit(@RequestParam("data") String data,
			java.io.PrintWriter out);
	
	public abstract void search(@RequestParam("data") String data,
			java.io.PrintWriter out);
	
	public abstract void update(@RequestParam("data") String data,
			java.io.PrintWriter out);
	
	public abstract void delete(@RequestParam("data") String data,
			java.io.PrintWriter out);
}
